#!/bin/bash

if [ $# -eq 0 ]
then
	echo "请输入年龄";
elif [ $1 -lt 18 ]
then
	echo "未成年人";
elif [ $1 -lt 60 ]
then
	echo "成年人";
else
	echo "老年人";
fi

